public class test {
    public static void main(String[] args) {
        int a = 10;
        int b = 20;
        int c = a + (b - a) >> 1;
        System.out.println(c);

    }
}
